package com.changwu.cwbase;
/**
 * Created by Administrator on 2016/9/23.
 */

public interface Constants {

    int UNLOGIN=401;
    int success= 0 ;
    /**
     * 精选
     */
    String REQUEST_TAG_HOT = "jing";
    /**
     * 最新
     */
   String REQUEST_TAG_NEW = "new";

    int RESULT_V_START = 0x1;//验证码开始计时
    int RESULT_V_TIMING = 0x2;//验证码计时中

    int TOUXIANG = 0x3;//头像
    int NICKNAME = 0x4;//头像
    String APP_ID = "wx31974e8267cb759f";
    String APP_SECRET = "bd2e988c294155a771296ca2b0c63974";

    String OSSAccessKeyId = "LTAIyJPvdRXd1eX9";
    String AccessKeySecret = "Wkwdr687sxx0nK5RfWh5NiETPBAme3";

    int INDUSTRY = 1;
    int WORK = 2;
    int MOVEMENT = 3;
    int MUSIC = 4;
    int FOOD = 5;
    int MOVIE = 6;
    int BOOK = 7;
    int TRAVEL = 8;
    int PERSONALITY = 9;

    int MONDAY=1;
    int TUESDAY=2;
    int WEDNESDAY=3;
    int THURSDAY=4;
    int FRIDAY=5;
    int SATURDAY=6;
    int SUNDAY=7;

    /*自定义消息*/
    String NAME_CARD = "name_card";
    String GIFT = "gift";
    String PIECES = "pieces";

    String DAY_TYPE_C = "0";
    String DAY_TYPE_H = "1";
    String DAY_TYPE_S = "2";
    String DAY_TYPE_J = "3";
    String DAY_TYPE_G = "4";
    String DAY_TYPE_Q = "5";

    int TYPE_LEVEL_0=1001;
    int TYPE_LEVEL_1=1002;

    int INVITE_FRIENDS = 7;
    int EXCHANGE_CDK = 13;
    /**
     * 网络日志标签
     */
    String TAG_NET = "jsonarray:";

    /**
     * 网络异常日志标签
     */
    String TAG_NET_ERROR = "jsonarrayError:";

    /**
     * 实体主键
     */
    String BEAN = "bean";
    String TITLE = "title";
    String URL = "url";
    /**
     * 内容
     */
    String CONTENT = "content";
    /**
     * 用户名
     */
    String UERNAME = "uername";
    String AVATAR = "avatar";
    String MOBLIE = "moblie";
    String CODE = "code";
    /**
     * 密码
     */
    String PASSWORD = "password";
    String UID = "uid";
    String ID = "id";
    String USER = "user";
    String TOKEN = "TOKEN";
    String NAME = "name";

    String SHAKE = "shake";
    String MUTE = "mute";
    String LOCK_SCREEN = "lock_screen";
    /**
     * 正则：用户名，取值范围为 a-z,A-Z,0-9,"_",汉字，不能以"_"结尾,用户名必须是 6-20 位
     */
    String REGEX_USERNAME = "^[A-Za-z0-9]{6,20}(?<!_)$";
    /**
     * 微信支付
     */
    String PAY_WX = "weixin";
    /**
     * 支付宝支付
     */
    String PAY_ZFB = "alipay";
    /**
     * 网页支付
     */
    String PAY_WEB = "pay_web";

    String ROOT_PATH = "wxr/";
    String RECORD_DIR = "record/";
    String RECORD_PATH = ROOT_PATH + RECORD_DIR;

    int REQUEST_IMG = 1001;
    int REQUEST_LiFE_IMG = 1002;

    String PHOTO="photo";
    String VIDEO="video";
}
